package interfaces;

import javafx.beans.property.SimpleStringProperty;

public class EntradaTablaLicencia {
	
	
    private final SimpleStringProperty firstName = new SimpleStringProperty("");
    private final SimpleStringProperty lastName = new SimpleStringProperty("");
    private final SimpleStringProperty tipoDoc = new SimpleStringProperty("");
    private final SimpleStringProperty nroDoc = new SimpleStringProperty("");
    public EntradaTablaLicencia() {
        this("", "", "","");
    }

    public EntradaTablaLicencia(String firstName, String lastName, String email, String nroDoc) {
        setFirstName(firstName);
        setLastName(lastName);
        setTipoDoc(email);
        setNroDoc(nroDoc);
    }

    private void setNroDoc(String n2) {
		nroDoc.set(n2);
	}

	public String getFirstName() {
        return firstName.get();
    }
	
	public String getNroDoc() {
        return nroDoc.get();
    }

    public void setFirstName(String fName) {
        firstName.set(fName);
    }

    public String getLastName() {
        return lastName.get();
    }

    public void setLastName(String fName) {
        lastName.set(fName);
    }

    public String getPrimary() {
        return getTipoDoc();
    }

    public String getSecondary() {
        return getTipoDoc();
    }

    public String getTipoDoc() {
        return tipoDoc.get();
    }

    public void setTipoDoc(String fName) {
        tipoDoc.set(fName);
    }
}